{extend name="common/common"/}

{block name="content-header"}
<h1>
    商品属性
    <small>Optional description</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
    <li class="active">Here</li>
</ol>
{/block}

{block name="content"}
<div class="row">
    <div class="col-xs-12">
        <form method="post" action="{:url('insert')}" class="form-horizontal">
            <div class="form-group">
                <label class="col-sm-2 control-label text-left">名称</label>
                <div class="col-sm-10">
                    <input type="text" name="name"  class="form-control" style="width: auto;">
                    <p class="help-block"></p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label text-left">属性值</label>
                <div class="col-sm-10">
                    <textarea name="values" id="" cols="30" rows="30"></textarea>
                    <p class="help-block" style="color: red">*多个属性值请换行</p>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2">

                </div>
                <div class="col-sm-10">
                    <button type="submit" class="btn btn-primary">添加</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}